package etc.spec.ytt.week07.class1;

public class Human {
    private String area;
    private String mainFood;
    private String skinColor;
    private String language="人话";
    public Human(String area,String mainFood,String skinColor,String language){
        this.area=area;
        this.mainFood=mainFood;
        this.skinColor=skinColor;
        this.language=language;
    }
    public Human() {
        System.out.println("我是人类");

    }
    public String getArea() {
        return area;
    }
    public void setArea(String area) {
        this.area = area;
    }

    public String getMainFood() {
        return mainFood;
    }
    public void setMainFood(String mainFood) {
        this.mainFood = mainFood;
    }

    public String getSkinColor() {
        return skinColor;
    }
    public void setSkinColor(String skinColor) {
        this.skinColor = skinColor;
    }
    public String getLanguage() {
        return language;
    }
    public void setLanguage(String language) {
        this.language = language;
    }
    public void speak(){
        System.out.println("说普通话");
    }
}
